﻿@model System.Data.DataTable
@if (Model != null)
{
    <div id="dichvu_mid_left_warpermenu">
        @for (int i = 0; i < Model.Rows.Count; i++) { if (Model.Rows[i]["Id"].ToString().Equals(ViewBag.id))
        { <a href="@Url.Action("Index", "ThietBi", new { id = Model.Rows[i]["Id"].ToString() })">
            <div class="dichvu_mid_left_menu focus" index ="@Model.Rows[i]["Id"].ToString()">
                @Model.Rows[i]["Name"].ToString()
            </div>
        </a>} else { <a href="@Url.Action("Index", "ThietBi", new { id = Model.Rows[i]["Id"].ToString() })">
            <div class="dichvu_mid_left_menu notfocus" index ="@Model.Rows[i]["Id"].ToString()">
                @Model.Rows[i]["Name"].ToString()
            </div>
        </a>} }
        @Html.Action("ListFoder", "ThietBi", new { id = ViewBag.id })
        <div class="dichvu_mid_left_space">
        </div>
        <div class="dichvu_mid_left_end">
        </div>
    </div>
}
